#ifndef _CHARACTER_H
#define _CHARACTER_H
#include "dxKeyboard.h"
#include "SpriteManager.h"
#include "Collision.h"

class CCharacter :
	public CKeyboard
{
protected:
	int _x, _y;
	float _vectorX, _vectorY;
	int Health;
	float _health;

public:
	CCharacter();
	~CCharacter(void);
	//virtual void LoadResource(LPDIRECT3DDEVICE9 d3ddv, LPD3DXSPRITE &SpriteHandler, HINSTANCE hInstance, HWND hWnd) = 0;
	void SetPosition(int X, int Y);
	void SetVector(float VectorX, float VectorY);
	D3DXVECTOR2 GetPosition();
	//lay van toc
	D3DXVECTOR2 GetVector();
	virtual Box GetBox();
};

#endif